﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace Bot.Domain.Report
{
    public class NewCSVColumn
    {
        public string header;
        public string field;
        public bool ifTextValue = false;
        public NewCSVColumn(string header, string field)
        {
            this.header = header;
            this.field = field;
        }
        public NewCSVColumn(string header, string field, bool ifTextValue)
        {
            this.header = header;
            this.field = field;
            this.ifTextValue = ifTextValue;
        }
    }
    public class NewExportCSVData
    {
        public string Title;
        public string TimeRange;
        public string DisplayedBy;
        public string name;
        public IList<NewCSVColumn> columns;
        public DataTable source;
        public NewExportCSVData(string title, IList<NewCSVColumn> columns, DataTable source)
        {
            this.Title = title;
            this.columns = columns;
            this.source = source;
        }
    }
}
